package com.ebai.product.management.base.security;

import com.ebai.product.management.model.entity.User;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface BasicSecurityManager {
	
	public void setCurrentUser(HttpSession session, User user);

	public User getCurrentUser(HttpSession session);

	public Map<String,Object> chkLogin(HttpSession session, User user);

	public Map<String,Object> modifyPasswd(HttpSession session, String oldLoginPwd, String newLoginPwd);
}
